import I18n, {getLanguages} from 'react-native-i18n';

import en from './en.json';
import zh from './zh.json';

I18n.fallbacks = true;

I18n.defaultLocale = 'en';

I18n.translations = {
  en,
  zh,
};

export {I18n, getLanguages};
